#ifndef __AGENT_H_INCLUDE__
#define __AGENT_H_INCLUDE__

#include <irrlicht.h>

using namespace irr;
using namespace core;
using namespace scene;

class Agent{
private:
	IAnimatedMeshSceneNode* m_Node;
	
	double m_moveRate;
	bool m_isIdle;
	vector3df m_currentGoal;

public:
	Agent(ISceneManager* smgr, stringw meshPath, vector3df startPosition, vector3df orientation);
	~Agent();
	void MoveTo(vector3df goal);
	bool IsIdle()const;
	void SetPosition(vector3df newPosition);
	void Update(u32 timeMs);
	vector3df GetPosition()const;
	vector3df GetRotation()const;
	vector3df GetCurrentGoal()const;
};



#endif